package com.zoespeer.food_delivery_comment_api;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.jpa.JpaRepositoriesAutoConfiguration;

// 1. 排除 JPA 自动配置，彻底移除 JPA 依赖
// 2. 扫描 MyBatis-Plus 的 Mapper 接口包（指定 mapper 目录）
@SpringBootApplication(exclude = JpaRepositoriesAutoConfiguration.class)
@MapperScan(basePackages = "com.zoespeer.food_delivery_comment_api.mapper")
public class FoodDeliveryCommentApiApplication {
	public static void main(String[] args) {
		SpringApplication.run(FoodDeliveryCommentApiApplication.class, args);
	}
}